package com.lyf.dao;

import java.util.List;

import com.lyf.dao.base.BaseDao;
import com.lyf.pojo.Goal;

public class GoalDao extends BaseDao<Goal,String> {

	public List<Goal> findByProjectId(String id) {
		String hql = "from Goal where t_project_id = ? order by g_createTime desc";
		return findByAllHql(hql, id);
	}

}
